Skip to content

Use GitLab’s oauth2 username for CLI updater authentication - #324

Merged
darrenoh merged 2 commits into
mainfrom
copilot/fix-check-cached-devpanel-cli-revision
Nov 12, 2026
Merged

darrenoh merged 2 commits into
mainfrom
copilot/fix-check-cached-devpanel-cli-revision

Conversation

Copilot AI commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

The cached-revision job failed when GitLab rejected the upstream ls-remote request and Git attempted an unavailable username prompt.

  • Authentication: Use GitLab’s oauth2 username with GITLAB_TOKEN for revision lookup, source fetch, and private-module requests; remove the GITLAB_USER requirement.
  • Documentation: Update the workflow requirements to specify a read_repository token.
auth=$(printf 'oauth2:%s' "${GITLAB_TOKEN}" | base64 -w0)

Co-authored-by: darrenoh <2293701+darrenoh@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Check cached DevPanel CLI revision Use GitLab’s oauth2 username for CLI updater authentication Nov 12, 2026
Copilot AI requested a review from darrenoh November 12, 2026 05:10
@darrenoh
darrenoh marked this pull request as ready for review November 12, 2026 05:17
@darrenoh
darrenoh requested a balanced review from Copilot November 12, 2026 05:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the token-only GitLab authentication update.

No open issues 🎉

What changed in this PR

Updates the DevPanel CLI updater to authenticate GitLab requests with the fixed oauth2 username and GITLAB_TOKEN, removing its dependency on GITLAB_USER.

Changes:

  • Applies the same authentication to revision lookup, source fetching, and private-module Git requests.
  • Updates setup documentation to require only a token with read_repository access.
File Description
TODO.md Updates authentication requirements and records the fix’s checklist.
README.md Documents token-only setup using the oauth2 username.
AGENTS.md Aligns workflow guidance with the revised authentication requirements.
.github/​workflows/​update-devpanel-cli.yml Uses oauth2 throughout and removes GITLAB_USER configuration and validation.

Review effort: Balanced

@darrenoh
darrenoh merged commit 4105579 into main Nov 12, 2026
9 checks passed
@darrenoh
darrenoh deleted the copilot/fix-check-cached-devpanel-cli-revision branch November 12, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants